home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Sample Code / AppsToGo / •AppsToGo Reference / •AppsToGo Reference.rsrc / WFMT_506_a258 < prev    next >
Unknown  |  1994-09-22  |  1.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file TTComp archive data, binary, 2K dictionary default (weak)
99% file data default
66% TrID TTComp archive compressed (bin-2K) default (weak)
33% TrID Adobe PhotoShop Brush default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 24 00 00 00 00 00 00 | 00 24 61 32 35 38 00 00 |.$......|.$a258..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 0a 49 6e 76 61 6c | 4c 61 79 65 72 00 00 06 |...Inval|Layer...|
|00000060| 00 00 00 00 00 a8 00 00 | 00 00 00 00 00 a8 00 00 |........|........|
|00000070| 00 14 03 c1 00 28 05 7e | 00 ff 00 00 00 00 00 00 |.....(.~|........|
|00000080| 0f a8 00 00 00 00 4e 1c | 00 00 00 09 00 00 00 04 |......N.|........|
|00000090| 00 04 ff fc ff fa 00 04 | 00 04 ff fc ff fc 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 83 00 | 0b 40 10 6b 53 63 72 65 |........|.@.kScre|
|000000b0| 65 6e 41 50 49 2f 31 39 | 39 39 36 00 06 47 65 6e |enAPI/19|996..Gen|
|000000c0| 65 76 61 00 00 4e 76 6f | 69 64 20 49 6e 76 61 6c |eva..Nvo|id Inval|
|000000d0| 4c 61 79 65 72 28 4c 61 | 79 65 72 4f 62 6a 20 74 |Layer(La|yerObj t|
|000000e0| 68 65 4c 61 79 65 72 2c | 20 52 65 63 74 20 69 6e |heLayer,| Rect in|
|000000f0| 76 61 6c 52 65 63 74 2c | 20 42 6f 6f 6c 65 61 6e |valRect,| Boolean|
|00000100| 20 69 6e 63 6c 75 64 65 | 4c 61 73 74 55 70 64 61 | include|LastUpda|
|00000110| 74 65 29 3b 00 00 00 06 | 00 00 00 00 00 88 00 00 |te);....|........|
|00000120| 00 00 00 00 00 88 00 00 | 00 00 03 c1 00 14 05 7e |........|.......~|
|00000130| 00 ff 00 00 00 00 00 00 | 0f a8 00 00 00 00 4e 1d |........|......N.|
|00000140| 00 00 00 09 00 00 00 04 | 00 04 ff fc ff fa 00 04 |........|........|
|00000150| 00 04 ff fc ff fc 00 00 | 00 00 00 00 00 00 83 00 |........|........|
|00000160| 0b 40 14 6b 53 63 72 65 | 65 6e 4f 6e 65 4c 69 6e |.@.kScre|enOneLin|
|00000170| 65 2f 31 39 39 39 37 00 | 06 47 65 6e 65 76 61 00 |e/19997.|.Geneva.|
|00000180| 00 2a 49 6e 76 61 6c 69 | 64 61 74 65 20 61 20 72 |.*Invali|date a r|
|00000190| 65 63 74 61 6e 67 6c 65 | 2d 77 6f 72 74 68 20 6f |ectangle|-worth o|
|000001a0| 66 20 74 68 65 20 6c 61 | 79 65 72 2e 00 00 00 06 |f the la|yer.....|
|000001b0| 00 00 00 00 00 44 00 00 | 00 00 00 00 00 44 00 00 |.....D..|.....D..|
|000001c0| 00 00 02 6b 04 40 02 6c | 01 00 00 00 00 00 00 01 |...k.@.l|........|
|000001d0| 0f f1 00 00 00 00 00 00 | 00 00 00 0c 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 06 00 00 00 00 | 00 6b 00 00 00 00 00 00 |........|.k......|
|00000210| 00 6b 00 00 00 00 02 6b | 02 28 03 c1 00 ff 00 00 |.k.....k|.(......|
|00000220| 00 00 00 00 0f a8 00 00 | 00 00 4e 16 00 00 00 09 |........|..N.....|
|00000230| 00 00 00 04 00 04 ff fc | ff fa 00 04 00 04 ff fc |........|........|
|00000240| ff fc 00 00 00 00 00 00 | 00 00 83 00 0b 40 0b 6c |........|.....@.l|
|00000250| 69 6e 6b 73 2f 31 39 39 | 39 30 00 06 4d 6f 6e 61 |inks/199|90..Mona|
|00000260| 63 6f 00 00 00 00 16 00 | 01 00 00 00 00 00 10 00 |co......|........|
|00000270| 0c 00 01 00 00 00 00 00 | 00 00 00 00 00 00 06 00 |........|........|
|00000280| 00 00 00 04 e9 00 00 00 | 00 00 00 04 e9 00 00 00 |........|........|
|00000290| 00 00 00 75 30 02 6b 01 | ff 00 00 00 00 00 00 0f |...u0.k.|........|
|000002a0| a8 00 00 00 00 4e 1f 00 | 00 00 09 00 00 00 04 00 |.....N..|........|
|000002b0| 04 ff fc ff fa 00 04 00 | 04 ff fc ff fc 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 83 00 0b | 40 0a 62 6f 64 79 2f 31 |........|@.body/1|
|000002d0| 39 39 39 39 00 06 4d 6f | 6e 61 63 6f 00 04 7f 76 |9999..Mo|naco...v|
|000002e0| 6f 69 64 20 49 6e 76 61 | 6c 4c 61 79 65 72 28 4c |oid Inva|lLayer(L|
|000002f0| 61 79 65 72 4f 62 6a 20 | 74 68 65 4c 61 79 65 72 |ayerObj |theLayer|
|00000300| 2c 20 52 65 63 74 20 69 | 6e 76 61 6c 52 65 63 74 |, Rect i|nvalRect|
|00000310| 2c 20 42 6f 6f 6c 65 61 | 6e 20 69 6e 63 6c 75 64 |, Boolea|n includ|
|00000320| 65 4c 61 73 74 55 70 64 | 61 74 65 29 3b 0d 0d 20 |eLastUpd|ate);.. |
|00000330| 20 20 20 46 69 6c 65 3a | 20 47 57 4c 61 79 65 72 | File:| GWLayer|
|00000340| 73 2e 68 0d 0d 49 4e 50 | 55 54 3a 20 20 74 68 65 |s.h..INP|UT: the|
|00000350| 4c 61 79 65 72 20 20 20 | 20 20 20 20 20 20 20 20 |Layer | |
|00000360| 20 54 68 65 20 6c 61 79 | 65 72 20 74 6f 20 69 6e | The lay|er to in|
|00000370| 76 61 6c 69 64 61 74 65 | 2e 20 20 49 66 20 6e 69 |validate|. If ni|
|00000380| 6c 20 69 73 20 70 61 73 | 73 65 64 20 69 6e 2c 20 |l is pas|sed in, |
|00000390| 74 68 65 6e 20 6e 6f 0d | 20 20 20 20 20 20 20 20 |then no.| |
|000003a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000003b0| 20 20 20 20 61 63 74 69 | 6f 6e 20 69 73 20 74 61 | acti|on is ta|
|000003c0| 6b 65 6e 2e 0d 20 20 20 | 20 20 20 20 20 69 6e 76 |ken.. | inv|
|000003d0| 61 6c 52 65 63 74 20 20 | 20 20 20 20 20 20 20 20 |alRect | |
|000003e0| 20 54 68 65 20 61 72 65 | 61 20 74 6f 20 69 6e 76 | The are|a to inv|
|000003f0| 61 6c 69 64 61 74 65 2e | 0d 20 20 20 20 20 20 20 |alidate.|. |
|00000400| 20 69 6e 63 6c 75 64 65 | 4c 61 73 74 55 70 64 61 | include|LastUpda|
|00000410| 74 65 20 20 20 49 66 20 | 74 72 75 65 2c 20 74 68 |te If |true, th|
|00000420| 65 6e 20 75 6e 69 6f 6e | 20 70 61 73 73 65 64 2d |en union| passed-|
|00000430| 69 6e 20 72 65 63 74 20 | 77 69 74 68 20 6c 61 73 |in rect |with las|
|00000440| 74 20 72 65 63 74 2c 20 | 74 68 75 73 0d 20 20 20 |t rect, |thus. |
|00000450| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000460| 20 20 20 20 20 20 20 20 | 20 67 69 76 69 6e 67 20 | | giving |
|00000470| 61 20 72 65 73 75 6c 74 | 69 6e 67 20 69 6e 76 61 |a result|ing inva|
|00000480| 6c 20 61 72 65 61 20 6c | 61 72 67 65 20 65 6e 6f |l area l|arge eno|
|00000490| 75 67 68 20 74 6f 20 65 | 6e 63 6c 6f 73 65 20 74 |ugh to e|nclose t|
|000004a0| 68 65 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |he. | |
|000004b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6c | | l|
|000004c0| 61 73 74 20 70 6f 73 69 | 74 69 6f 6e 20 6f 66 20 |ast posi|tion of |
|000004d0| 61 6e 20 6f 62 6a 65 63 | 74 20 62 65 69 6e 67 20 |an objec|t being |
|000004e0| 64 72 61 67 67 65 64 2e | 0d 0d 50 6f 73 74 20 61 |dragged.|..Post a|
|000004f0| 20 6c 61 79 65 72 20 75 | 70 64 61 74 65 20 72 65 | layer u|pdate re|
|00000500| 63 74 2e 20 20 54 68 65 | 20 72 65 63 74 20 69 73 |ct. The| rect is|
|00000510| 20 75 6e 69 6f 6e 65 64 | 20 69 6e 74 6f 20 74 68 | unioned| into th|
|00000520| 65 20 74 68 69 73 55 70 | 64 61 74 65 20 66 6f 72 |e thisUp|date for|
|00000530| 20 74 68 65 0d 6c 61 79 | 65 72 20 61 6e 64 20 61 | the.lay|er and a|
|00000540| 6c 6c 20 6c 61 79 65 72 | 73 20 62 65 6c 6f 77 20 |ll layer|s below |
|00000550| 74 68 69 73 20 6c 61 79 | 65 72 2e 20 20 49 66 20 |this lay|er. If |
|00000560| 69 6e 63 6c 75 64 65 4c | 61 73 74 55 70 64 61 74 |includeL|astUpdat|
|00000570| 65 20 69 73 20 74 72 75 | 65 2c 20 74 68 65 6e 0d |e is tru|e, then.|
|00000580| 74 68 65 20 66 69 65 6c | 64 20 69 6e 63 6c 75 64 |the fiel|d includ|
|00000590| 65 4c 61 73 74 55 70 64 | 61 74 65 20 69 73 20 73 |eLastUpd|ate is s|
|000005a0| 65 74 20 74 72 75 65 20 | 66 6f 72 20 65 61 63 68 |et true |for each|
|000005b0| 20 6c 61 79 65 72 2c 20 | 61 73 20 77 65 6c 6c 2e | layer, |as well.|
|000005c0| 20 20 54 68 69 73 20 62 | 6f 6f 6c 65 61 6e 0d 69 | This b|oolean.i|
|000005d0| 73 20 75 73 65 64 20 62 | 79 20 74 68 65 20 64 65 |s used b|y the de|
|000005e0| 66 61 75 6c 74 20 75 70 | 64 61 74 65 20 62 65 68 |fault up|date beh|
|000005f0| 61 76 69 6f 72 20 74 6f | 20 64 65 74 65 72 6d 69 |avior to| determi|
|00000600| 6e 65 20 69 66 20 74 68 | 65 20 61 72 65 61 20 6c |ne if th|e area l|
|00000610| 61 73 74 20 75 70 64 61 | 74 65 64 0d 73 68 6f 75 |ast upda|ted.shou|
|00000620| 6c 64 20 62 65 20 75 70 | 64 61 74 65 64 20 61 67 |ld be up|dated ag|
|00000630| 61 69 6e 2e 20 20 54 68 | 69 73 20 6d 61 6b 65 73 |ain. Th|is makes|
|00000640| 20 61 6e 69 6d 61 74 69 | 6f 6e 20 65 66 66 65 63 | animati|on effec|
|00000650| 74 73 20 65 61 73 69 65 | 72 20 69 6e 20 74 68 65 |ts easie|r in the|
|00000660| 20 74 68 65 20 6f 6c 64 | 0d 61 6e 64 20 6e 65 77 | the old|.and new|
|00000670| 20 70 6f 73 69 74 69 6f | 6e 20 66 6f 72 20 61 20 | positio|n for a |
|00000680| 70 6c 61 79 65 72 20 62 | 65 69 6e 67 20 6d 6f 76 |player b|eing mov|
|00000690| 65 64 20 61 72 65 20 75 | 70 64 61 74 65 64 20 61 |ed are u|pdated a|
|000006a0| 74 20 74 68 65 20 73 61 | 6d 65 20 74 69 6d 65 2e |t the sa|me time.|
|000006b0| 20 20 54 68 69 73 0d 63 | 6f 75 6c 64 20 62 65 20 | This.c|ould be |
|000006c0| 68 61 6e 64 6c 65 64 20 | 62 79 20 68 61 6e 64 20 |handled |by hand |
|000006d0| 62 79 20 63 61 6c 63 75 | 6c 61 74 69 6e 67 20 74 |by calcu|lating t|
|000006e0| 68 65 20 72 65 63 74 20 | 74 6f 20 62 65 20 75 70 |he rect |to be up|
|000006f0| 64 61 74 65 64 20 74 6f | 20 69 6e 63 6c 75 64 65 |dated to| include|
|00000700| 20 74 68 65 0d 6c 61 73 | 74 20 70 6f 73 69 74 69 | the.las|t positi|
|00000710| 6f 6e 2c 20 62 75 74 20 | 62 79 20 70 61 73 73 69 |on, but |by passi|
|00000720| 6e 67 20 69 6e 63 6c 75 | 64 65 4c 61 73 74 55 70 |ng inclu|deLastUp|
|00000730| 64 61 74 65 20 61 73 20 | 74 72 75 65 2c 20 69 74 |date as |true, it|
|00000740| 20 69 73 0d 68 61 6e 64 | 6c 65 64 20 61 75 74 6f | is.hand|led auto|
|00000750| 6d 61 74 69 63 61 6c 6c | 79 2e 20 0d 0d 0d 00 16 |maticall|y. .....|
|00000760| 00 01 00 00 00 00 00 0b | 00 09 00 04 00 00 00 09 |........|........|
|00000770| 00 00 00 00 00 00 | |...... | |
+--------+-------------------------+-------------------------+--------+--------+